import requests

if __name__ == '__main__':
    for _ in range(0, 308):
        response = requests.get("http://www..org/vod-type-id-1-pg-" + str(_) + ".html")
        content = response.content

        s = content.decode('utf-8', 'ignore')
        print(s)
        with open("./files/" + str(_), mode='w', encoding='utf-8') as f:
            f.write(s)

    pass
